package com.ky.pro.java.rpc.demo.consumer.proxy;

import com.ky.pro.java.rpc.core.annotation.StubService;
import com.ky.pro.java.rpc.demo.api.User;
import com.ky.pro.java.rpc.demo.api.UserService;
import org.springframework.stereotype.Service;

/**
 * @ClassName UserServiceProxy
 * @Description TODO
 * @Date 2022/1/1 15:42
 * @Author kevin
 **/
@Service
@StubService(name = "user", stubClass = UserService.class)
public class UserServiceProxy implements UserService {

    @Override
    public User findById(int id) {
        return null;
    }
}
